package com.imusic.model.cloudland.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("cloudland_news_content")
public class CloudlandNewsContent implements Serializable {
    @TableId(value = "id",type = IdType.ID_WORKER)
    private Long id;

    /**
     * 动态id
     */
    @TableField("news_id")
    private Long newsId;

    /**
     * 动态内容
     *    字数限制1024
     */
    @TableField("content")
    private String content;
}
